body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.container {
  width: 500px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}

h2 {
  color: #555;
  font-size: 16px;
  margin-bottom: 10px;
}

.upload-section, .input-section, .button-section, .result-section {
  margin-bottom: 20px;
}

input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px dashed #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.or-divider {
  text-align: center;
  margin: 10px 0;
  color: #888;
  position: relative;
}

.or-divider:before, .or-divider:after {
  content: "";
  display: block;
  width: 40%;
  height: 1px;
  background: #ddd;
  position: absolute;
  top: 50%;
}

.or-divider:before {
  left: 0;
}

.or-divider:after {
  right: 0;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

button {
  background-color: #4285f4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #3367d6;
}

#parseButton {
  width: 100%;
}

#generateDocButton {
  background-color: #0f9d58;
  margin-top: 10px;
}

#generateDocButton:hover {
  background-color: #0b8043;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

.three-line-table {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.three-line-table tr:first-child {
  border-bottom: 1px solid #000;
}

.three-line-table tr:last-child {
  border-bottom: 1px solid #000;
} 